package com.qf.pojo;

import java.util.Date;

public class Order {
    private String id;
    private int uid;
    private double money;
    private String status;
    private Date time;
    private String address;
    private String username;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    private int aid;
    public Order() {
        // TODO Auto-generated constructor stub
    }
    public Order(String id, int uid, double money, String status, Date time, int aid) {
        super();
        this.id = id;
        this.uid = uid;
        this.money = money;
        this.status = status;
        this.time = time;
        this.aid = aid;
    }
    public String getId() {
        return id;
    }
    public void setId(String id) {
        this.id = id;
    }
    public int getUid() {
        return uid;
    }
    public void setUid(int uid) {
        this.uid = uid;
    }
    public double getMoney() {
        return money;
    }
    public void setMoney(double money) {
        this.money = money;
    }
    public String getStatus() {
        return status;
    }
    public void setStatus(String status) {
        this.status = status;
    }
    public Date getTime() {
        return time;
    }
    public void setTime(Date time) {
        this.time = time;
    }
    public int getAid() {
        return aid;
    }
    public void setAid(int aid) {
        this.aid = aid;
    }
    @Override
    public String toString() {
        return "Order [id=" + id + ", uid=" + uid + ", money=" + money + ", status=" + status + ", time=" + time
                + ", aid=" + aid + "]";
    }

}
